package com.wondertek.poms.image.utils;

import java.io.File;
import java.io.FileFilter;

public class ExtFileFilter implements FileFilter {
  String ext;
  
  public ExtFileFilter(String ext) {
    this.ext = ext;
  }
  
  public boolean accept(File pathname) {
    return pathname.getName().endsWith(this.ext);
  }
}
